package org.dromara.curd.dnnyun.domain.vo;

import org.dromara.curd.dnnyun.domain.DnnyunStore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 东云区域门店视图对象 dnnyun_store
 *
 * @author wdm
 * @date 2024-02-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DnnyunStore.class)
public class DnnyunStoreVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 父节点ID
     */
    private Long parentId;

    /**
     * 显示顺序
     */
    @ExcelProperty(value = "显示顺序")
    private Long orderNum;

    /**
     * 门店名称
     */
    @ExcelProperty(value = "门店名称")
    private String storeName;

    /**
     * 联系人姓名
     */
    @ExcelProperty(value = "联系人姓名")
    private String contactName;

    /**
     * 联系人电话
     */
    @ExcelProperty(value = "联系人电话")
    private String storePhone;

    /**
     * 节点类型(0区域，1店面)
     */
    @ExcelProperty(value = "节点类型(0区域，1店面)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "dnnyun_store_storetype")
    private Integer storeType;

    /**
     * 店面类型(0直营店，1加盟店)
     */
    @ExcelProperty(value = "店面类型(0直营店，1加盟店)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "dnnyun_store_type")
    private Integer type;

    /**
     * 创建人工号
     */
    @ExcelProperty(value = "创建人工号")
    private String createUserNumber;


}
